package com.lzx.service.qxdata.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.lzx.common.DS;
import com.lzx.mapper.qxdata.QxDataMapper;
import com.lzx.model.qxdata.QxData;
import com.lzx.service.qxdata.QxDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("qxdataService")
public class QxDataServiceImpl extends ServiceImpl<QxDataMapper,QxData> implements QxDataService {
    @Autowired
    private QxDataMapper qxDataMapper;


    @Override
    @DS("db2")
    public List<QxData> findlist(QxData demo) {
        return qxDataMapper.queryList(demo);
    }
    @Override
    @DS("db2")
    public List<QxData> findqxsjlist(QxData demo) {
        return qxDataMapper.findqxsjlist(demo);
    }
    @Override
    @DS("db2")
    public List<QxData> findavglast(QxData demo) {
        return qxDataMapper.findavglast(demo);
    }
    @Override
    @DS("db2")
    public List<QxData> findavgjt(QxData demo) {
        return qxDataMapper.findavgjt(demo);
    }

}
